package com.mobzilla.util;

public final class Lock<T>
{
	private Boolean dataSet;
	private T data;
	
	public Lock()
	{
		setDataSet(false);
	}

	public Boolean isDataSet()
        {
        	return dataSet;
        }

	public void setDataSet(Boolean dataSet)
        {
        	this.dataSet = dataSet;
        }

	public T getData()
        {
        	return data;
        }

	public void setData(T data)
        {
        	this.data = data;
        }
}
